package cn.mw.cmdb.service;

import cn.mw.cmdb.entity.InventoryWorkInfo;
import cn.mw.cmdb.entity.dto.InventoryHistoryCountDTO;
import cn.mw.cmdb.param.InventoryAssetsIdsParam;
import cn.mw.cmdb.param.InventoryIdsParam;
import cn.mw.cmdb.param.InventorySearchParam;
import cn.mw.components.mongodb.page.MWPage;

import java.util.List;
import java.util.Map;

/**
 * @Author shenwenyi
 * @Date 2024/4/26 15:50
 * @PackageName:cn.mw.cmdb.service.interceptors
 * @ClassName: InventoryWorkInfoService
 * @Description: TODD
 * @Version 1.0
 */
public interface InventoryWorkInfoService {

    List<InventoryWorkInfo> selfInventory(InventorySearchParam searchParam) throws Exception;

    void startInventory(InventoryAssetsIdsParam param) throws Exception ;

    MWPage inventoryHistory(InventorySearchParam param) throws Exception;

    List<InventoryHistoryCountDTO> inventoryHistoryCount() throws Exception;

    String delInventoryWork(InventoryIdsParam param) throws Exception;

    Map<String,Integer> inventoryCount(InventorySearchParam param) throws Exception;
}
